import { Component, Host, ViewChild, ElementRef, ChangeDetectionStrategy, ChangeDetectorRef, OnInit, AfterViewInit } from '@angular/core';
import { AppComponent } from '../../app.component';

/**
 * Home main component
 *
 * Author: Sorin Spiru, Andrei Istrate
 * Date: 13.01.2018
 */
@Component({
    moduleId: module.id,
    templateUrl: 'home.component.html',
    styleUrls: ['./home.component.scss'],
    changeDetection: ChangeDetectionStrategy.OnPush
})
export class HomeComponent {
    constructor(@Host() private rootComponent: AppComponent){
    }

    ngOnInit(){
        this.rootComponent.finishLoading();
    }
 }
